package org.easymis.entitys.mybatis.dto;
import java.io.Serializable; 
import org.easymis.commons.generator.annotation.GenField; 
import org.easymis.commons.generator.annotation.GenModel; 
import org.easymis.commons.generator.annotation.GenTable; 
import java.util.*; 
 
  
  
 @GenTable(name="crm_business") 
@GenModel(packageName="org.easymis.entitys.mybatis",modelName="CrmBusiness")  
 public class CrmBusiness implements Serializable{  
      @GenField(labelname="商机id",column="business_id",id=true,length=40,isnull=false) 
      private String businessId; 
      @GenField(labelname="商机号",column="business_no",length=40,isnull=true) 
      private String businessNo; 
      @GenField(labelname="商机名称",column="business_name",length=255,isnull=false) 
      private String businessName; 
      @GenField(labelname="机构ID",column="org_id",length=40,isnull=false) 
      private String orgId; 
      @GenField(labelname="",column="org_name",length=255,isnull=false) 
      private String orgName; 
      @GenField(labelname="注册分子公司id",column="filiale_org_id",length=40,isnull=true) 
      private String filialeOrgId; 
      @GenField(labelname="注册分子公司名称",column="filiale_org_name",length=255,isnull=true) 
      private String filialeOrgName; 
      @GenField(labelname="商机来源|crm_leads_source",column="source_id",length=40,isnull=true) 
      private String sourceId; 
      @GenField(labelname="来源名称",column="source_name",length=255,isnull=true) 
      private String sourceName; 
      @GenField(labelname="商机类型",column="type",length=40,isnull=true) 
      private String type; 
      @GenField(labelname="创建者岗位",column="creator_id",length=20,isnull=false) 
      private String creatorId; 
      @GenField(labelname="",column="creator_name",length=255,isnull=false) 
      private String creatorName; 
      @GenField(labelname="商机创建时间",column="create_time",isnull=false) 
      private Date createTime; 
      @GenField(labelname="拥有者|负责人",column="owner_id",length=40,isnull=false) 
      private String ownerId; 
      @GenField(labelname="拥有者|负责人",column="owner_name",length=100,isnull=false) 
      private String ownerName; 
      @GenField(labelname="赢单率(百分比)",column="gain_rate",isnull=true) 
      private Integer gainRate; 
      @GenField(labelname="产品总数",column="total_amount",isnull=true) 
      private Integer totalAmount; 
      @GenField(labelname="小计和",column="subtotal_val",isnull=true) 
      private Float subtotalVal; 
      @GenField(labelname="其他费用",column="discount_price",isnull=true) 
      private Float discountPrice; 
      @GenField(labelname="实际成交价",column="sales_price",isnull=true) 
      private Float salesPrice; 
      @GenField(labelname="预计成交日期",column="due_date",isnull=true) 
      private Date dueDate; 
      @GenField(labelname="修改时间",column="update_time",isnull=true) 
      private Date updateTime; 
      @GenField(labelname="修改人",column="update_id",length=20,isnull=true) 
      private String updateId; 
      @GenField(labelname="商机金额",column="total_price",isnull=true) 
      private Float totalPrice; 
      @GenField(labelname="下一步",column="nextstep",length=100,isnull=true) 
      private String nextstep; 
      @GenField(labelname="下次联系时间",column="next_time",isnull=true) 
      private Date nextTime; 
      @GenField(labelname="商机状态1正常2删除|作废",column="delete_status",isnull=false) 
      private Integer deleteStatus; 
      @GenField(labelname="删除人",column="delete_id",length=40,isnull=true) 
      private String deleteId; 
      @GenField(labelname="",column="delete_name",length=255,isnull=true) 
      private String deleteName; 
      @GenField(labelname="删除时间",column="delete_time",isnull=true) 
      private Date deleteTime; 
      @GenField(labelname="商机联系人",column="contacts_ids",length=2000,isnull=true) 
      private String contactsIds; 
      @GenField(labelname="联系地址",column="contract_address",length=500,isnull=true) 
      private String contractAddress; 
      @GenField(labelname="关联线索id",column="leads_id",length=40,isnull=true) 
      private String leadsId; 
      @GenField(labelname="",column="leads_name",length=255,isnull=true) 
      private String leadsName; 
      @GenField(labelname="关联客户id",column="customer_id",length=40,isnull=false) 
      private String customerId; 
      @GenField(labelname="",column="customer_name",length=255,isnull=false) 
      private String customerName; 
      @GenField(labelname="转换成联系人|关联联系人",column="order_id",length=40,isnull=true) 
      private String orderId; 
      @GenField(labelname="关联回款id",column="receivable_id",length=0,isnull=true) 
      private String receivableId; 
      @GenField(labelname="关联售后id",column="service_id",length=0,isnull=true) 
      private String serviceId; 
      @GenField(labelname="关联项目",column="project_id",length=40,isnull=true) 
      private String projectId; 
      @GenField(labelname="关联任务id",column="project_task_id",length=40,isnull=true) 
      private String projectTaskId; 
      @GenField(labelname="预计成交价格",column="estimate_price",isnull=true) 
      private Float estimatePrice; 
      @GenField(labelname="输单原因",column="lose",length=500,isnull=true) 
      private String lose; 
      @GenField(labelname="锁定状态1锁定2解锁",column="lock_status",isnull=true) 
      private Integer lockStatus; 
      @GenField(labelname="分配人",column="allot_id",length=40,isnull=true) 
      private String allotId; 
      @GenField(labelname="",column="allot_name",length=255,isnull=true) 
      private String allotName; 
      @GenField(labelname="分配时间",column="allot_date",isnull=true) 
      private Date allotDate; 
      @GenField(labelname="跟进状态 0作废1未处理2已联系3关闭",column="follow_status",isnull=true) 
      private Integer followStatus; 
      @GenField(labelname="最后跟进时间",column="follow_last_date",isnull=true) 
      private Date followLastDate; 
      @GenField(labelname="进度|阶段",column="progress_id",length=20,isnull=true) 
      private String progressId; 
      @GenField(labelname="进度名称",column="progress_name",length=255,isnull=true) 
      private String progressName; 
      @GenField(labelname="来源国家Id",column="country_id",length=20,isnull=true) 
      private String countryId; 
      @GenField(labelname="",column="country_name",length=255,isnull=true) 
      private String countryName; 
      @GenField(labelname="商机省份id",column="province_id",length=20,isnull=true) 
      private String provinceId; 
      @GenField(labelname="来源省份名称",column="province_name",length=255,isnull=true) 
      private String provinceName; 
      @GenField(labelname="商机城市",column="city_id",length=20,isnull=true) 
      private String cityId; 
      @GenField(labelname="",column="city_name",length=255,isnull=true) 
      private String cityName; 
      @GenField(labelname="商机区县",column="district_id",length=20,isnull=true) 
      private String districtId; 
      @GenField(labelname="",column="district_name",length=255,isnull=true) 
      private String districtName; 
      @GenField(labelname="一级行业",column="level1_industry_id",length=20,isnull=true) 
      private String level1IndustryId; 
      @GenField(labelname="",column="level1_industry_name",length=255,isnull=true) 
      private String level1IndustryName; 
      @GenField(labelname="二级行业",column="level2_industry_id",length=20,isnull=true) 
      private String level2IndustryId; 
      @GenField(labelname="",column="level2_industry_name",length=255,isnull=true) 
      private String level2IndustryName; 
      @GenField(labelname="三级行业",column="level3_industry_id",length=20,isnull=true) 
      private String level3IndustryId; 
      @GenField(labelname="",column="level3_industry_name",length=255,isnull=true) 
      private String level3IndustryName; 
      @GenField(labelname="四级行业",column="level4_industry_id",length=20,isnull=true) 
      private String level4IndustryId; 
      @GenField(labelname="",column="level4_industry_name",length=255,isnull=true) 
      private String level4IndustryName; 
      @GenField(labelname="商机花费费用|费用",column="fee",isnull=true) 
      private Float fee; 
      @GenField(labelname="金额（商机赚得金额）",column="earn_fee",isnull=true) 
      private Float earnFee; 
      @GenField(labelname="控制字段",column="control_status",isnull=true) 
      private Integer controlStatus; 
      @GenField(labelname="备注|描述",column="depict",length=500,isnull=true) 
      private String depict; 
      public String getBusinessId(){ 
      	   return businessId;
      }
      public void setBusinessId(String businessId){ 
      	   this.businessId=businessId; 
      } 
      public String getBusinessNo(){ 
      	   return businessNo;
      }
      public void setBusinessNo(String businessNo){ 
      	   this.businessNo=businessNo; 
      } 
      public String getBusinessName(){ 
      	   return businessName;
      }
      public void setBusinessName(String businessName){ 
      	   this.businessName=businessName; 
      } 
      public String getOrgId(){ 
      	   return orgId;
      }
      public void setOrgId(String orgId){ 
      	   this.orgId=orgId; 
      } 
      public String getOrgName(){ 
      	   return orgName;
      }
      public void setOrgName(String orgName){ 
      	   this.orgName=orgName; 
      } 
      public String getFilialeOrgId(){ 
      	   return filialeOrgId;
      }
      public void setFilialeOrgId(String filialeOrgId){ 
      	   this.filialeOrgId=filialeOrgId; 
      } 
      public String getFilialeOrgName(){ 
      	   return filialeOrgName;
      }
      public void setFilialeOrgName(String filialeOrgName){ 
      	   this.filialeOrgName=filialeOrgName; 
      } 
      public String getSourceId(){ 
      	   return sourceId;
      }
      public void setSourceId(String sourceId){ 
      	   this.sourceId=sourceId; 
      } 
      public String getSourceName(){ 
      	   return sourceName;
      }
      public void setSourceName(String sourceName){ 
      	   this.sourceName=sourceName; 
      } 
      public String getType(){ 
      	   return type;
      }
      public void setType(String type){ 
      	   this.type=type; 
      } 
      public String getCreatorId(){ 
      	   return creatorId;
      }
      public void setCreatorId(String creatorId){ 
      	   this.creatorId=creatorId; 
      } 
      public String getCreatorName(){ 
      	   return creatorName;
      }
      public void setCreatorName(String creatorName){ 
      	   this.creatorName=creatorName; 
      } 
      public Date getCreateTime(){ 
      	   return createTime;
      }
      public void setCreateTime(Date createTime){ 
      	   this.createTime=createTime; 
      } 
      public String getOwnerId(){ 
      	   return ownerId;
      }
      public void setOwnerId(String ownerId){ 
      	   this.ownerId=ownerId; 
      } 
      public String getOwnerName(){ 
      	   return ownerName;
      }
      public void setOwnerName(String ownerName){ 
      	   this.ownerName=ownerName; 
      } 
      public Integer getGainRate(){ 
      	   return gainRate;
      }
      public void setGainRate(Integer gainRate){ 
      	   this.gainRate=gainRate; 
      } 
      public Integer getTotalAmount(){ 
      	   return totalAmount;
      }
      public void setTotalAmount(Integer totalAmount){ 
      	   this.totalAmount=totalAmount; 
      } 
      public Float getSubtotalVal(){ 
      	   return subtotalVal;
      }
      public void setSubtotalVal(Float subtotalVal){ 
      	   this.subtotalVal=subtotalVal; 
      } 
      public Float getDiscountPrice(){ 
      	   return discountPrice;
      }
      public void setDiscountPrice(Float discountPrice){ 
      	   this.discountPrice=discountPrice; 
      } 
      public Float getSalesPrice(){ 
      	   return salesPrice;
      }
      public void setSalesPrice(Float salesPrice){ 
      	   this.salesPrice=salesPrice; 
      } 
      public Date getDueDate(){ 
      	   return dueDate;
      }
      public void setDueDate(Date dueDate){ 
      	   this.dueDate=dueDate; 
      } 
      public Date getUpdateTime(){ 
      	   return updateTime;
      }
      public void setUpdateTime(Date updateTime){ 
      	   this.updateTime=updateTime; 
      } 
      public String getUpdateId(){ 
      	   return updateId;
      }
      public void setUpdateId(String updateId){ 
      	   this.updateId=updateId; 
      } 
      public Float getTotalPrice(){ 
      	   return totalPrice;
      }
      public void setTotalPrice(Float totalPrice){ 
      	   this.totalPrice=totalPrice; 
      } 
      public String getNextstep(){ 
      	   return nextstep;
      }
      public void setNextstep(String nextstep){ 
      	   this.nextstep=nextstep; 
      } 
      public Date getNextTime(){ 
      	   return nextTime;
      }
      public void setNextTime(Date nextTime){ 
      	   this.nextTime=nextTime; 
      } 
      public Integer getDeleteStatus(){ 
      	   return deleteStatus;
      }
      public void setDeleteStatus(Integer deleteStatus){ 
      	   this.deleteStatus=deleteStatus; 
      } 
      public String getDeleteId(){ 
      	   return deleteId;
      }
      public void setDeleteId(String deleteId){ 
      	   this.deleteId=deleteId; 
      } 
      public String getDeleteName(){ 
      	   return deleteName;
      }
      public void setDeleteName(String deleteName){ 
      	   this.deleteName=deleteName; 
      } 
      public Date getDeleteTime(){ 
      	   return deleteTime;
      }
      public void setDeleteTime(Date deleteTime){ 
      	   this.deleteTime=deleteTime; 
      } 
      public String getContactsIds(){ 
      	   return contactsIds;
      }
      public void setContactsIds(String contactsIds){ 
      	   this.contactsIds=contactsIds; 
      } 
      public String getContractAddress(){ 
      	   return contractAddress;
      }
      public void setContractAddress(String contractAddress){ 
      	   this.contractAddress=contractAddress; 
      } 
      public String getLeadsId(){ 
      	   return leadsId;
      }
      public void setLeadsId(String leadsId){ 
      	   this.leadsId=leadsId; 
      } 
      public String getLeadsName(){ 
      	   return leadsName;
      }
      public void setLeadsName(String leadsName){ 
      	   this.leadsName=leadsName; 
      } 
      public String getCustomerId(){ 
      	   return customerId;
      }
      public void setCustomerId(String customerId){ 
      	   this.customerId=customerId; 
      } 
      public String getCustomerName(){ 
      	   return customerName;
      }
      public void setCustomerName(String customerName){ 
      	   this.customerName=customerName; 
      } 
      public String getOrderId(){ 
      	   return orderId;
      }
      public void setOrderId(String orderId){ 
      	   this.orderId=orderId; 
      } 
      public String getReceivableId(){ 
      	   return receivableId;
      }
      public void setReceivableId(String receivableId){ 
      	   this.receivableId=receivableId; 
      } 
      public String getServiceId(){ 
      	   return serviceId;
      }
      public void setServiceId(String serviceId){ 
      	   this.serviceId=serviceId; 
      } 
      public String getProjectId(){ 
      	   return projectId;
      }
      public void setProjectId(String projectId){ 
      	   this.projectId=projectId; 
      } 
      public String getProjectTaskId(){ 
      	   return projectTaskId;
      }
      public void setProjectTaskId(String projectTaskId){ 
      	   this.projectTaskId=projectTaskId; 
      } 
      public Float getEstimatePrice(){ 
      	   return estimatePrice;
      }
      public void setEstimatePrice(Float estimatePrice){ 
      	   this.estimatePrice=estimatePrice; 
      } 
      public String getLose(){ 
      	   return lose;
      }
      public void setLose(String lose){ 
      	   this.lose=lose; 
      } 
      public Integer getLockStatus(){ 
      	   return lockStatus;
      }
      public void setLockStatus(Integer lockStatus){ 
      	   this.lockStatus=lockStatus; 
      } 
      public String getAllotId(){ 
      	   return allotId;
      }
      public void setAllotId(String allotId){ 
      	   this.allotId=allotId; 
      } 
      public String getAllotName(){ 
      	   return allotName;
      }
      public void setAllotName(String allotName){ 
      	   this.allotName=allotName; 
      } 
      public Date getAllotDate(){ 
      	   return allotDate;
      }
      public void setAllotDate(Date allotDate){ 
      	   this.allotDate=allotDate; 
      } 
      public Integer getFollowStatus(){ 
      	   return followStatus;
      }
      public void setFollowStatus(Integer followStatus){ 
      	   this.followStatus=followStatus; 
      } 
      public Date getFollowLastDate(){ 
      	   return followLastDate;
      }
      public void setFollowLastDate(Date followLastDate){ 
      	   this.followLastDate=followLastDate; 
      } 
      public String getProgressId(){ 
      	   return progressId;
      }
      public void setProgressId(String progressId){ 
      	   this.progressId=progressId; 
      } 
      public String getProgressName(){ 
      	   return progressName;
      }
      public void setProgressName(String progressName){ 
      	   this.progressName=progressName; 
      } 
      public String getCountryId(){ 
      	   return countryId;
      }
      public void setCountryId(String countryId){ 
      	   this.countryId=countryId; 
      } 
      public String getCountryName(){ 
      	   return countryName;
      }
      public void setCountryName(String countryName){ 
      	   this.countryName=countryName; 
      } 
      public String getProvinceId(){ 
      	   return provinceId;
      }
      public void setProvinceId(String provinceId){ 
      	   this.provinceId=provinceId; 
      } 
      public String getProvinceName(){ 
      	   return provinceName;
      }
      public void setProvinceName(String provinceName){ 
      	   this.provinceName=provinceName; 
      } 
      public String getCityId(){ 
      	   return cityId;
      }
      public void setCityId(String cityId){ 
      	   this.cityId=cityId; 
      } 
      public String getCityName(){ 
      	   return cityName;
      }
      public void setCityName(String cityName){ 
      	   this.cityName=cityName; 
      } 
      public String getDistrictId(){ 
      	   return districtId;
      }
      public void setDistrictId(String districtId){ 
      	   this.districtId=districtId; 
      } 
      public String getDistrictName(){ 
      	   return districtName;
      }
      public void setDistrictName(String districtName){ 
      	   this.districtName=districtName; 
      } 
      public String getLevel1IndustryId(){ 
      	   return level1IndustryId;
      }
      public void setLevel1IndustryId(String level1IndustryId){ 
      	   this.level1IndustryId=level1IndustryId; 
      } 
      public String getLevel1IndustryName(){ 
      	   return level1IndustryName;
      }
      public void setLevel1IndustryName(String level1IndustryName){ 
      	   this.level1IndustryName=level1IndustryName; 
      } 
      public String getLevel2IndustryId(){ 
      	   return level2IndustryId;
      }
      public void setLevel2IndustryId(String level2IndustryId){ 
      	   this.level2IndustryId=level2IndustryId; 
      } 
      public String getLevel2IndustryName(){ 
      	   return level2IndustryName;
      }
      public void setLevel2IndustryName(String level2IndustryName){ 
      	   this.level2IndustryName=level2IndustryName; 
      } 
      public String getLevel3IndustryId(){ 
      	   return level3IndustryId;
      }
      public void setLevel3IndustryId(String level3IndustryId){ 
      	   this.level3IndustryId=level3IndustryId; 
      } 
      public String getLevel3IndustryName(){ 
      	   return level3IndustryName;
      }
      public void setLevel3IndustryName(String level3IndustryName){ 
      	   this.level3IndustryName=level3IndustryName; 
      } 
      public String getLevel4IndustryId(){ 
      	   return level4IndustryId;
      }
      public void setLevel4IndustryId(String level4IndustryId){ 
      	   this.level4IndustryId=level4IndustryId; 
      } 
      public String getLevel4IndustryName(){ 
      	   return level4IndustryName;
      }
      public void setLevel4IndustryName(String level4IndustryName){ 
      	   this.level4IndustryName=level4IndustryName; 
      } 
      public Float getFee(){ 
      	   return fee;
      }
      public void setFee(Float fee){ 
      	   this.fee=fee; 
      } 
      public Float getEarnFee(){ 
      	   return earnFee;
      }
      public void setEarnFee(Float earnFee){ 
      	   this.earnFee=earnFee; 
      } 
      public Integer getControlStatus(){ 
      	   return controlStatus;
      }
      public void setControlStatus(Integer controlStatus){ 
      	   this.controlStatus=controlStatus; 
      } 
      public String getDepict(){ 
      	   return depict;
      }
      public void setDepict(String depict){ 
      	   this.depict=depict; 
      } 
}